<table class="mainTable">
	<tr>
		<th colspan="2">基本设置</th>
	</tr>
	<tr>
		<td class="td1" align="right" width="20%">栏目名称：</td>
		<td>
        <?php echo Form::input('data[cat_name]',$category->cat_name);?>
        </td>
	</tr>
    <tr>
        <td class="td1" align="right">栏目域名：</td>
        <td>
        <?php echo Form::input('data[domain]',$category->domain ,array('title'=>'为此栏目设置一个二级域名，留空则为默认'.CRLF.'例如：news.myqee.com') );?>
        </td>
    </tr>
    <tr>
        <td class="td1" align="right">栏目目录：</td>
        <td>
            <table class="mainTable" style="width:auto;">
            <tr>
                <td class="td1">是否创建在父栏目目录下：</td>
                <td>
                    <?php echo Form::checkbox('data[parent_path]',1,$category->parent_path);?>
                    当前父栏目目录：/
                </td>
            </tr>
            <tr>
                <td class="td1" align="right">本栏目目录：</td>
                <td>
                <?php echo Form::input('data[path]',$category->path , array('size'=>'12','title'=>'只允许字母数字下划线'.CRLF.'不填则为动态，可用 http://www.yourdomain.com/category/1/ <br>这样的URL方式访问') );?>
                <input type="button" value="点击生成拼音目录" title="用栏目名称的拼音生成栏目目录" />
                </td>
            </tr>
            </table>
        </td>
    </tr>
	<tr>
		<td class="td1" align="right">内容模型：</td>
		<td>
        <select name="data[content_tpl]">
            <option>默认模型</option>
        </select>
        <span class="helpicon" title="您可在模型管理里创建属于自己的模型">&nbsp;</span>
        </td>
	</tr>
	<tr>
		<td class="td1" align="right">所属站点：</td>
		<td>
        <select>
            <option>主站</option>
        </select>
        </td>
	</tr>
	<tr>
		<td class="td1" align="right">父栏目：</td>
		<td>
        <select name="parent_cid" size="15" style="width:300px;"></select>
        </td>
	</tr>
    <?php
    foreach ( View::get_tag('cms.admin.category.form.base') as $item )
    {
    ?>
	<tr>
		<td class="td1" align="right"><?php $item->run(0);?></td>
		<td>
            <?php $item->run(1);?>
        </td>
	</tr>
    <?php
    }
    ?>
</table>